import promise from 'es6-promise'
promise.polyfill()
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import '@/assets/css/common.scss'
import '@/assets/iconfont/iconfont.css'
import '@/assets/newicon/iconfont.css'
import './permission'
import * as elPlusIcon from "@element-plus/icons"
import enLang from 'element-plus/lib/locale/lang/zh-cn'
const app=createApp(App).use(ElementPlus, { locale: enLang }).use(store).use(router);
Object.keys(elPlusIcon).forEach((m) => {
    app.component(m, elPlusIcon[m])
})
app.mount('#app')
